// src/stores/auth.store.js
import { defineStore } from 'pinia'
import { ref, computed } from 'vue'
import {getBaseInfo} from "@/api/api.js";


export const useEmployeeStore = defineStore('employee', () => {
    const employeeInfo = ref({})
    const setEmployeeInfo = (info) => {
        employeeInfo.value = info
    }


    return {
        employeeInfo,
        setEmployeeInfo
    }
},{
    persist: true
})